﻿@{
    ViewBag.Title = "AllDelivery";
    Layout = "~/Areas/Admin/Views/Shared/_Admin.cshtml";
}

<div class="row-fluid">
    <h3 class="header smaller lighter blue">Tìm kiếm phiếu giao hàng</h3>
    <div class="widget-box">
        <div class="widget-header widget-header-small">
            <h5 class="lighter">Tìm theo mã phiếu giao hàng</h5>
        </div>
        <div class="widget-body">
            <div class="widget-main">
                <form class="form-search">
                    Mã phiếu giao:
                    <input type="text" class="input-medium search-query">
                    Tên nhà cung cấp:
                    <input type="text" class="input-medium search-query">
                    <button onclick="return false;" class="btn btn-purple btn-small">
                        Tìm
						<i class="icon-search icon-on-right bigger-110"></i>
                    </button>
                </form>
            </div>
        </div>
    </div>

    <h3 class="header smaller lighter blue">Danh sách phiếu giao hàng</h3>
    <div class="table-header">
        Danh sách phiếu giao hàng
    </div>

    <table id="sample-table-2" class="table table-striped table-bordered table-hover">
        <thead>
            <tr>
                <th class="center">
                    <label>
                        <input type="checkbox" />
                        <span class="lbl"></span>
                    </label>
                </th>
                <th>Mã phiếu giao</th>
                <th>Tên nhà cung cấp</th>
                <th class="hidden-480">Giá trị </th>
                <th class="hidden-480">Ngày giao</th>
                <th class="hidden-480">Ghi chú</th>

                <th>Xử lí</th>
            </tr>
        </thead>

        <tbody>

            @foreach (EC18_ESHOP.Models.DELIVERY_NOTES item in ViewBag.AllDelivery)
            {
                <tr>
                    <td class="center">
                        <label>
                            <input type="checkbox" />
                            <span class="lbl"></span>
                        </label>
                    </td>

                    <td>
                        <a href="#">@item.DeliveryId</a>
                    </td>
                    <td>@item.OrderProviderId</td>
                    <td class="hidden-480">@item.Value</td>
                    <td class="hidden-phone">@item.DeliveryDate</td>

                    <td class="hidden-480">
                        <span class="label label-success">@item.Note </span>
                    </td>

                    <td class="td-actions">
                        <div class="hidden-phone visible-desktop action-buttons">
                            <a class="blue" href="~/Admin/AdminWareHouse/DetailDelivery">
                                <i class="icon-zoom-in bigger-130"></i>
                            </a>

                            <a class="green" href="~/Admin/AdminWareHouse/UpdateDelivery">
                                <i class="icon-pencil bigger-130"></i>
                            </a>

                            <a class="red" href="#">
                                <i class="icon-trash bigger-130"></i>
                            </a>

                        </div>

                        <div class="hidden-desktop visible-phone">
                            <div class="inline position-relative">
                                <button class="btn btn-minier btn-yellow dropdown-toggle" data-toggle="dropdown">
                                    <i class="icon-caret-down icon-only bigger-120"></i>
                                </button>

                                <ul class="dropdown-menu dropdown-icon-only dropdown-yellow pull-right dropdown-caret dropdown-close">
                                    <li>
                                        <a href="#" class="tooltip-info" data-rel="tooltip" title="View">
                                            <span class="blue">
                                                <i class="icon-zoom-in bigger-120"></i>
                                            </span>
                                        </a>
                                    </li>

                                    <li>
                                        <a href="#" class="tooltip-success" data-rel="tooltip" title="Edit">
                                            <span class="green">
                                                <i class="icon-edit bigger-120"></i>
                                            </span>
                                        </a>
                                    </li>

                                    <li>
                                        <a href="#" class="tooltip-error" data-rel="tooltip" title="Delete">
                                            <span class="red">
                                                <i class="icon-trash bigger-120"></i>
                                            </span>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </td>
                </tr>                               
                                
                                
                                
                                
                                   
            
            }



        </tbody>

    </table>
</div>

